package com.zmn.oms.business.interfaces.xno;

import com.zmn.oms.model.dto.work.xno.XnoBindDTO;
import com.zmn.oms.model.dto.work.xno.XnoUnBindDTO;

/**
 * @ClassName OrderXnoBindBService
 * @description:
 * @author: wangyanci
 * @create: 2021-08-04 17:06
 * @Version 1.0
 **/
public interface OrderXnoBindBService {

    /**
     * 解绑
     *
     * @param xnoUnBindDTO
     * @return boolean
     */
    void unBind(XnoUnBindDTO xnoUnBindDTO);

    /**
     * 绑定小号
     *
     * @param xnoBindDTO
     */
    void bind(XnoBindDTO xnoBindDTO);

    /**
     * 发送到解绑队列
     *
     * @param xnoUnBindDTO
     */
    void sendToUnBindQueue(XnoUnBindDTO xnoUnBindDTO);

}
